Hammer and anvil for repairing tools